import {
  AppOutline,
  MessageOutline,
  MessageFill,
  UnorderedListOutline,
  UserOutline,
} from "antd-mobile-icons";

export default function tabbarList() {
  return [
    {
      key: "/home",
      title: "首页",
      icon: <AppOutline />,
    },
    {
      key: "/home/houselist",
      title: "找房",
      icon: <UnorderedListOutline />,
    },
    {
      key: "/home/news",
      title: "资讯",
      icon: (active) => (active ? <MessageFill /> : <MessageOutline />),
      badge: "99+",
    },
    {
      key: "/home/profile",
      title: "我的",
      icon: <UserOutline />,
    },
  ];
}
